WPGraphQL\Mutation\SendPasswordResetEmail S

Total Complexity 22
Dependencies 4
Dependents 1
Total lines 247
Lines of code 127
Logical lines of code 60
Comment lines 89
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
mutate_and_get_payload()
S
48 5 36
get_output_fields()
S
54 2 22
get_user_data()
S
64 3 10
get_site_name()
S
65 3 9
was_username_provided()
S
77 2 3
get_user_not_found_error_message()
S
70 2 6
register_mutation()
S
62 1 13
get_input_fields()
S
63 1 12
is_email_address()
S
78 1 3
get_email_subject()
S
73 1 4
get_email_message()
S
62 1 9